package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-05
 */
public class HouseWaitOutPacket extends Model<HouseWaitOutPacket> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 待出库单id
     */
    private String houseWaitOutId;

    /**
     * 销售单套餐id
     */
    private String salePacketId;

    /**
     * 套餐id
     */
    private String packetId;

    /**
     * 套餐名
     */
    private String packetNo;

    /**
     * 套餐编号
     */
    private String packetName;

    /**
     * 已出库数量
     */
    private BigDecimal hasOutNumber;

    /**
     * 待出库数量
     */
    private BigDecimal waitOutNumber;

    /**
     * 商品数量
     */
    private BigDecimal number;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getHouseWaitOutId() {
        return houseWaitOutId;
    }

    public void setHouseWaitOutId(String houseWaitOutId) {
        this.houseWaitOutId = houseWaitOutId;
    }
    public String getSalePacketId() {
        return salePacketId;
    }

    public void setSalePacketId(String salePacketId) {
        this.salePacketId = salePacketId;
    }
    public String getPacketId() {
        return packetId;
    }

    public void setPacketId(String packetId) {
        this.packetId = packetId;
    }
    public String getPacketNo() {
        return packetNo;
    }

    public void setPacketNo(String packetNo) {
        this.packetNo = packetNo;
    }
    public String getPacketName() {
        return packetName;
    }

    public void setPacketName(String packetName) {
        this.packetName = packetName;
    }
    public BigDecimal getHasOutNumber() {
        return hasOutNumber;
    }

    public void setHasOutNumber(BigDecimal hasOutNumber) {
        this.hasOutNumber = hasOutNumber;
    }
    public BigDecimal getWaitOutNumber() {
        return waitOutNumber;
    }

    public void setWaitOutNumber(BigDecimal waitOutNumber) {
        this.waitOutNumber = waitOutNumber;
    }
    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseWaitOutPacket{" +
            "id=" + id +
            ", houseWaitOutId=" + houseWaitOutId +
            ", salePacketId=" + salePacketId +
            ", packetId=" + packetId +
            ", packetNo=" + packetNo +
            ", packetName=" + packetName +
            ", hasOutNumber=" + hasOutNumber +
            ", waitOutNumber=" + waitOutNumber +
            ", number=" + number +
            ", companyId=" + companyId +
        "}";
    }
}
